lief-project is the publisher behind LIEF, an open-source library for parsing, modifying, and analyzing executable file formats, and it distributes tools and libraries through its website at https://lief.re/. The publisher's catalog centers on utilities for inspecting and altering binary files, with the current package lief-patchelf serving as a representative example. lief-patchelf is an implementation of the original patchelf utility created by NixOS (NixOS/patchelf), rebuilt on top of LIEF. Tools in this category fall within binary analysis and low-level software engineering, a space typically occupied by reverse engineers, security researchers, build system maintainers, and developers working close to the operating system layer. The original patchelf is widely used to modify properties of ELF executables and shared libraries on Unix-like systems, such as adjusting the dynamic linker path, changing the runtime library search path (RPATH or RUNPATH), adding or removing library dependencies, and patching the interpreter of a binary. These capabilities are especially valuable in packaging and deployment workflows, where binaries must be relocated or repackaged so they run correctly in environments that differ from the ones in which they were compiled, a common requirement in reproducible build systems and portable software distributions. By reimplementing this functionality on the LIEF framework, lief-project aligns the tool with a broader ecosystem of format-parsing technology that also covers formats such as PE and Mach-O, making its products suitable for cross-platform binary manipulation tasks. Typical use cases include repackaging proprietary or prebuilt binaries for custom Linux distributions, preparing software for containerized or sandboxed environments, fixing library resolution issues without recompilation, and integrating binary patching into automated build pipelines where direct, scriptable control over executable metadata is required.

lief-patchelf

lief-patchelf is an implementation of the original patchelf created by NixOS (NixOS/patchelf), based on LIEF.

Details